<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.eviger">

    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />

    <application
        android:name=".z_fakeContext"
        android:allowBackup="true"
        android:fullBackupContent="true"
        android:icon="@mipmap/ic_launcher"
        android:label="Eviger"
        android:requestLegacyExternalStorage="true"
        android:roundIcon="@mipmap/ic_launcher"
        android:supportsRtl="true"
        android:theme="@style/Theme.Eviger"
        tools:ignore="Instantiatable">
        <activity
            android:name=".splashScreen"
            android:screenOrientation="portrait"
            android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name=".updateApp"
            android:screenOrientation="portrait" />
        <activity
            android:name=".restoreProfile"
            android:screenOrientation="portrait" />
        <activity
            android:name=".chooseAuth"
            android:screenOrientation="portrait" />
        <activity
            android:name=".authActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".resetPassword"
            android:screenOrientation="portrait" />
        <activity
            android:name=".profilePage"
            android:screenOrientation="portrait" />
        <activity
            android:name=".searchUsers"
            android:screenOrientation="portrait" />
        <activity
            android:name=".messagesPage"
            android:screenOrientation="portrait" />
        <activity
            android:name=".messagesChat"
            android:screenOrientation="portrait" />
        <activity
            android:name=".settingsPage"
            android:screenOrientation="portrait" />
        <activity
            android:name=".changeName"
            android:screenOrientation="portrait" />
        <activity
            android:name=".registerActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".emailConfirm"
            android:screenOrientation="portrait" />

        <provider
            android:name="androidx.core.content.FileProvider"
            android:authorities="${applicationId}.provider"
            android:exported="false"
            android:grantUriPermissions="true">
            <meta-data
                android:name="android.support.FILE_PROVIDER_PATHS"
                android:resource="@xml/file_provider_path" />
        </provider>
    </application>

</manifest>